package com.weitu.occupationalHealth.phyData.service.impl;

import com.weitu.occupationalHealth.phyData.entity.OccOther;
import com.weitu.occupationalHealth.phyData.mapper.OccOtherMapper;
import com.weitu.occupationalHealth.phyData.service.OccOtherService;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OccOtherServiceImpl implements OccOtherService {
    @Autowired
    private OccOtherMapper occOtherMapper;

    @Override
    public OccOther selectById(String id) {
        return this.occOtherMapper.selectById(id);
    }

    @Override
    public int deleteById(String id) {
        return this.occOtherMapper.deleteById(id);
    }

    @Override
    public int updateByIdSelective(OccOther record) {
        return this.occOtherMapper.updateByIdSelective(record);
    }

    @Override
    public int updateById(OccOther record) {
        return this.occOtherMapper.updateById(record);
    }

    @Override
    public int insert(Map record) {
        return this.occOtherMapper.insert(record);
    }

    @Override
    public int insertSelective(OccOther record) {
        return this.occOtherMapper.insertSelective(record);
    }
}